package com.rs.service.rs;

import java.util.List;
import java.util.Map;

import com.rs.model.CommonResult;
import com.rs.model.Journal;

public interface JournalService {
	/******App******/

	//添加项目异动日志申请
	CommonResult<String> journalAddApp(Journal journal);

	//查询本人所申请的日志记录
	CommonResult<List<Journal>> journalOwnApplicationQueryApp(Journal journal);

	//查询日志详情
	CommonResult<Journal> journalOneQueryApp(Integer j_id);

	//修改日志
	CommonResult<String> journalUpdateApp(Journal journal);

	//删除待审核和未通过的日志
	CommonResult<String> journalDelectApp(Journal journal);

	//审核时查询所有待审核的日志
	CommonResult<List<Journal>> journalAuditLookAllApp();

	//审核日志
	CommonResult<String> journalAuditApp(Journal journal);

	/**********PC******************/
	//pc端查询所有（不传时，查所有，传值时为条件查询）
	CommonResult<Map<String, Object>> journalQueryAllPc(Journal journal);

	//pc端按时间查询
	CommonResult<Map<String, Object>> journalQueryByTimePc(Map<String, String> map);

	//pc查询详情
	CommonResult<Journal> journalCheckDetailsPc(Integer j_id);

}
